//start:重写对话框函数
alert = function(str){jAlert(str);}
//jAlert = function(str){alert(str);}
jConfirm = function(message, title, callback){var flag = confirm(message);	if(callback)callback(flag); }
jPrompt = function(message, value, title, callback){var input = prompt(message,value); alert(input);return input;}
//end:重写对话框函数